package com.watt.gateway.domain;

/**
 * 成功
 */
public class SuccessResultEntity extends ResultEntity {

    public SuccessResultEntity(Object data) {
        super.setErrcode(1);
        super.setData(data);
    }

    public SuccessResultEntity(Object data, String message) {
        super.setErrcode(1);
        super.setData(data);
        super.setErrmsg(message);
    }
}
